﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Presenter.Support;

namespace MS.InformationManagement.Presenter.AdminAnulaciones
{
    public class AdminAnulacionesPresenter : BasePresenter<IAdminAnulacionesView>
    {
        
        #region Properties

        public AdminAnulacionesPresenter(IAdminAnulacionesView view) : base(view) { }

        #endregion

        #region Methods

        public void HandleLoad()
        {
            int totalRecords;
            View.items = MS.InformationManagement.BLL.AdminAnulaciones.AdminAnulaciones.GetItemsSolicitudAnulados(View.PageIndex, View.PageSize, out totalRecords);
            View.TotalRecords = totalRecords;
            View.Show();
        }

        #endregion
    }
}
